package net.yondervision.hrfsp.sdk.esign.domain.request;

import cn.hutool.http.Method;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import net.yondervision.hrfsp.sdk.esign.domain.AbstractESignRequest;
import net.yondervision.hrfsp.sdk.esign.domain.ESignRequest;
import net.yondervision.hrfsp.sdk.esign.domain.request.body.IdentityVerifyOrganizationEnterpriseBureau3FactorsParamBody;
import net.yondervision.hrfsp.sdk.esign.domain.response.IdentityVerifyOrganizationEnterpriseBureau3FactorsResponse;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/10/22 10:14
 */
@Data
@Builder
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class IdentityVerifyOrganizationEnterpriseBureau3FactorsRequest extends
    AbstractESignRequest implements
    ESignRequest<IdentityVerifyOrganizationEnterpriseBureau3FactorsResponse> {

  private IdentityVerifyOrganizationEnterpriseBureau3FactorsParamBody identityVerifyOrganizationEnterpriseBureau3FactorsParamBody;

  public IdentityVerifyOrganizationEnterpriseBureau3FactorsRequest(
      IdentityVerifyOrganizationEnterpriseBureau3FactorsParamBody identityVerifyOrganizationEnterpriseBureau3FactorsParamBody) {
    this.identityVerifyOrganizationEnterpriseBureau3FactorsParamBody = identityVerifyOrganizationEnterpriseBureau3FactorsParamBody;
    this.setParamBody(identityVerifyOrganizationEnterpriseBureau3FactorsParamBody);
  }

  @Override
  public String getVersion() {
    return "v2";
  }

  @Override
  public String getUrl() {
    return "/identity/verify/organization/enterprise/bureau3Factors";
  }

  @Override
  public Method getMethodType() {
    return Method.POST;
  }


  @Override
  public Class<IdentityVerifyOrganizationEnterpriseBureau3FactorsResponse> getResponseClass() {
    return IdentityVerifyOrganizationEnterpriseBureau3FactorsResponse.class;
  }

}
